SELECT
<#switch (select__object__id!)>
	<#case "id">
T.ID AS id
	<#break>
	<#case "endDaTi">
T.END_DA_TI AS endDaTi
	<#break>
	<#case "resourceId">
T.RESOURCE_ID AS resourceId
	<#break>
	<#case "beginDaTi">
T.BEGIN_DA_TI AS beginDaTi
	<#break>
	<#case "operatorAcId">
T.OPERATOR_AC_ID AS operatorAcId
	<#break>
	<#case "roleId">
T.ROLE_ID AS roleId
	<#break>
	<#default>
COUNT(1) AS COUNT_
</#switch>
FROM FD_ROLE_RE_OP_AC T
<#include "whereRoleReOpAcBy1.ftl">